package org.ljy.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 使用密码登陆的请求参数
 */


@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam {

    @NotBlank(message = "手机号或邮箱不能为空！！！")
    private String loginName;
    @NotBlank(message = "密码不能为空！！！")
    private String password;

}
